<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>StatSVN - Directory src/</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta name="Generator" content="StatSVN 0.7.0"/>
<link rel="stylesheet" href="objectlab-statcvs.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&#38;login=statsvn&#38;apiKey=R_2c362b417d0517c27876cbaca1bb68cc"></script>
<script type="text/javascript" charset="utf-8">
   // wait until page is loaded to call API
   var redir_url;
   var short_url;
   BitlyCB.myShortenCallback = function(data) {
      // this is how to get a result of shortening a single url
      var result;
      short_url=null;
      for (var r in data.results) {
         result = data.results[r];
         result['longUrl'] = r;
         short_url = result['shortUrl'];
         break;
      }
      if (short_url==null) // bit.ly failed
      document.location=redir_url;
      else
      redirToTwitter();
   };
   function shortenTweet(url) {
      if (short_url == null || redir_url!=url) {
      redir_url = url;
      BitlyClient.shorten(document.location, 'BitlyCB.myShortenCallback');
      }
      else
      redirToTwitter();
      return false;
   }
   function redirToTwitter() { 
      // replace {0} which is visible as %7B0} in the link
      document.location = redir_url.replace('%7B0}', short_url);
   }
</script>
  </head>

<body>

<h1>Directory src/</h1>
<div id="parentlink">&#171; <a href="index.html">Development Statistics for /trunk</a></div>
<dl class="attributes">
    <dt>Directory Created:</dt>
    <dd><span class="date">2010-08-09 20:53</span></dd>
    <dt>Total Files:</dt>
    <dd>1</dd>
    <dt>Deleted Files:</dt>
    <dd>0</dd>
    <dt>Lines of Code:</dt>
    <dd>62</dd>
</dl>
<p class="dirtree">
<a href="dir.html">[root]</a>/<strong>src</strong><br/>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder-deleted.png" width="15" height="13" alt="Folder removed from repo" title="Folder removed from repo"/> 
<a href="dir_src_com.html">com</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder-deleted.png" width="15" height="13" alt="Folder removed from repo" title="Folder removed from repo"/> 
<a href="dir_src_com_test.html">test</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_databases.html">databases</a> 
(4 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz.html">nz</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac.html">ac</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey.html">massey</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor.html">doi_information_extractor</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor_data.html">data</a> 
(7 files, 825 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor_database.html">database</a> 
(3 files, 691 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor_gui.html">gui</a> 
(9 files, 2870 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor_main.html">main</a> 
(3 files, 370 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor_output.html">output</a> 
(3 files, 364 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor_parser.html">parser</a> 
(11 files, 1981 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder.png" width="15" height="13" alt="directory in repo" title="directory in repo"/> 
<a href="dir_src_nz_ac_massey_doi_information_extractor_tests.html">tests</a> 
(15 files, 2073 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder-deleted.png" width="15" height="13" alt="Folder removed from repo" title="Folder removed from repo"/> 
<a href="dir_src_nz_massey.html">massey</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder-deleted.png" width="15" height="13" alt="Folder removed from repo" title="Folder removed from repo"/> 
<a href="dir_src_nz_massey_ac.html">ac</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder-deleted.png" width="15" height="13" alt="Folder removed from repo" title="Folder removed from repo"/> 
<a href="dir_src_nz_massey_ac_nz.html">nz</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder-deleted.png" width="15" height="13" alt="Folder removed from repo" title="Folder removed from repo"/> 
<a href="dir_src_nz_massey_ac_nz_doi_information_extractor.html">doi_information_extractor</a> 
(0 files, 0 lines)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<img src="folder-deleted.png" width="15" height="13" alt="Folder removed from repo" title="Folder removed from repo"/> 
<a href="dir_src_nz_massey_ac_nz_doi_information_extractor_main.html">main</a> 
(0 files, 0 lines)<br />
</p>

<div class="section">
<h2>Lines of Code</h2>
<p class="chart"><img src="loc_module_src.png" alt="src/ Lines of Code" width="800" height="500" /></p></div>
<div class="section">
<h2>Developers</h2>
  <table  rules="groups" summary="All authors and the number of their changes and lines of code in this directory">
    <colgroup align="left"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <thead>
      <tr>
        <th>Author</th>
        <th>Changes</th>
        <th>Lines of Code</th>
        <th>Lines per Change</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <th>Totals</th>
        <td>14 (100.0%)</td>
        <td>127 (100.0%)</td>
        <td>9.0</td>
      </tr>
    </tfoot>
    <tbody>
      <tr  class="odd">
        <th><a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a></th>
        <td>8 (57.1%)</td>
        <td>68 (53.5%)</td>
        <td>8.5</td>
      </tr>
      <tr  class="even">
        <th><a href="user_kiwislash.html" class="author">kiwislash</a></th>
        <td>6 (42.9%)</td>
        <td>59 (46.5%)</td>
        <td>9.8</td>
      </tr>
    </tbody>
  </table>

</div>
<div class="section">
<h2>Most Recent Commits</h2>
<dl class="commitlist">
  <dt><a name="14"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-10-11 19:56</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">369</span></span>
  </dt>
  <dd>
    <p class="comment">
Added rimsId to database code.
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="13"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-10-11 19:40</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">368</span></span>
  </dt>
  <dd>
    <p class="comment">
Removed rimsUserId that I added to the author object.
    </p>
    <p class="commitdetails"><strong>2</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+2&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="12"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-10-07 21:35</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">344</span></span>
  </dt>
  <dd>
    <p class="comment">
Think db's fixed. Gotta revise testcases, but would be nice if some1 else tried breaking it to test it in the meantime :P
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="11"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-10-04 00:38</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">313</span></span>
  </dt>
  <dd>
    <p class="comment">
Added a userId variable, since Karen and Craig seem insisdent that they want the staff/student id in there. I imagine it'll need to be manually inputted anyway..
    </p>
    <p class="commitdetails"><strong>2</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+2&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="10"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-10-03 23:55</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">311</span></span>
  </dt>
  <dd>
    <p class="comment">
Fixed some minor flaws. And added .db fileextension to database files.
    </p>
    <p class="commitdetails"><strong>0</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(changed)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="9"></a>
    <a href="user_kiwislash.html" class="author">kiwislash</a>
    <span class="date">2010-09-29 12:56</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">290</span></span>
  </dt>
  <dd>
    <p class="comment">
Er. Changed it so pubId is auto-incremented. Still needs a bit of work. Will fix it after networks lab
    </p>
    <p class="commitdetails"><strong>2</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+2&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="8"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-09-28 19:58</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">289</span></span>
  </dt>
  <dd>
    <p class="comment">
Added staffSubmitter variable based on the existing authorList object.<br />
Also made a few changes that should, in theory, allow the user to specify a path. (Need to add error handling for this)<br />
And made a few minor changes to my testcases.
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="7"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-09-25 23:05</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">277</span></span>
  </dt>
  <dd>
    <p class="comment">
sqLite v1.1. Can only run one test before it crashes. Haven't quite sorted out the connections or something, cause the database locks itself, meaning teardown() doesn't work, and the following setup() fails since tables already exist, and tests fail since tables contain data they shouldnt
    </p>
    <p class="commitdetails"><strong>56</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+56&#160;-38)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="6"></a>
    <a href="user_kiwislash@gmail.com.html" class="author">kiwislash@gmail.com</a>
    <span class="date">2010-09-25 01:27</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">276</span></span>
  </dt>
  <dd>
    <p class="comment">
Full functionality for database with MySQL. At least I think it covers the few things added to the interface. Also modified how the methods work a bit. Still need to try converting to sqLite. Previous attempt was unsuccessful and data was lost.
    </p>
    <p class="commitdetails"><strong>5</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+5&#160;-4)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="5"></a>
    <a href="user_kiwislash.html" class="author">kiwislash</a>
    <span class="date">2010-09-16 14:20</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">221</span></span>
  </dt>
  <dd>
    <p class="comment">
Removed several unneeded variables from database code
    </p>
    <p class="commitdetails"><strong>0</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(-4)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="4"></a>
    <a href="user_kiwislash.html" class="author">kiwislash</a>
    <span class="date">2010-09-16 11:09</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">215</span></span>
  </dt>
  <dd>
    <p class="comment">
Working database stuff
    </p>
    <p class="commitdetails"><strong>10</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+10&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="3"></a>
    <a href="user_kiwislash.html" class="author">kiwislash</a>
    <span class="date">2010-09-10 00:38</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">189</span></span>
  </dt>
  <dd>
    <p class="comment">
Added in auto-generating authorID values. Fixed update method to handle these changes. Testcases also slightly revised
    </p>
    <p class="commitdetails"><strong>6</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+6&#160;-5)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="2"></a>
    <a href="user_kiwislash.html" class="author">kiwislash</a>
    <span class="date">2010-08-30 15:27</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">170</span></span>
  </dt>
  <dd>
    <p class="comment">
Database v2.0. Every method works as specified in interface. A few additional methods exist which were developed prior to the meeting, which are useful for implementing certain methods, and for testing.<br />
These could be probably be removed with some effort, however, it would likely not produce any benefits, and could have an inverse effect upon the readability of the code.<br />

    </p>
    <p class="commitdetails"><strong>6</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="change">(+6&#160;-6)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="1"></a>
    <a href="user_kiwislash.html" class="author">kiwislash</a>
    <span class="date">2010-08-09 20:53</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">113</span></span>
  </dt>
  <dd>
    <p class="comment">
Fixed error that classes had locating db script. Most effective solution involved moving script and referencing it from both. However, this leaves some duplicate files on the repostiory which require deleting.. Which seems difficult. Will try working out how again after further improving code
    </p>
    <p class="commitdetails"><strong>35</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>src</strong>:
        db.sql&#160;<span class="new">(new&#160;35)</span>
      </li>
    </ul>
  </dd>

</dl>

</div><div id="generatedby">Generated by <a href="http://www.statsvn.org">StatSVN</a> 0.7.0</div>
</body>
</html>